home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / ODF Release 3 / ODFDev / Button / Sources / Defines.k < prev    next >
Encoding:
Text File  |  1996-12-16  |  2.2 KB  |  62 lines  |  [TEXT/MPS ]

  1. //=====================================================================================
  2. //
  3. //    File:                Defines.k
  4. //    Release Version:    $ ODF 3 $
  5. //
  6. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //=====================================================================================
  9.  
  10. #ifndef DEFINES_K
  11. #define DEFINES_K
  12.  
  13. //-------------------------------------------------------------------------------------
  14. // Uncomment the following three lines, and define them appropriately!!
  15. // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
  16. // to be 1.  Otherwise define it to be 0.
  17. // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
  18. // 1 to enable the extensions manager.  Otherwise, define it to be 0.
  19. // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
  20. // define it to be zero.  Note that if your part is scriptable is must support
  21. // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
  22. #define FW_SUPPORTS_EMBEDDING     0
  23. #define FW_SUPPORTS_EXTENSIONS     1
  24. #define FW_SUPPORTS_SCRIPTING     1
  25. #define FW_SUPPORTS_LINKING     0
  26.  
  27. //-------------------------------------------------------------------------------------
  28. // Icons ID
  29. #define kViewAsIconID             128
  30.  
  31. //-------------------------------------------------------------------------------------
  32. // Views
  33. #define    kButtonView             1024
  34.  
  35. //-------------------------------------------------------------------------------------
  36. // Strings
  37. #define kButtonDialogStrings    1024
  38. #define kNoAppleScriptMsg           1
  39.  
  40. //-------------------------------------------------------------------------------------
  41. // Scripting
  42. #define kODFButtonSuiteID        'ODFb'
  43. #define kDoItEventID            'bDoI'
  44.  
  45. //-------------------------------------------------------------------------------------
  46. // Part Info 
  47. #define kPartInfoID                1024
  48.  
  49. //-------------------------------------------------------------------------------------
  50. // Document Window 
  51. #define kDocumentWindowID        1024
  52.  
  53. //-------------------------------------------------------------------------------------
  54. // Presentation
  55. #define kODFButtonPresentation "Apple:Presentation:ODFButton"
  56.  
  57.  
  58. #define kNothing                0
  59. #define kSound                    1
  60. #define kScript                    2    
  61.  
  62. #endif